<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>系统管理员 HDSysCms</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" href="<?php echo getcdnurlhost() ?>/admin/layui/css/layui.css" media="all">
<link rel="stylesheet" href="<?php echo getcdnurlhost() ?>/admin/style/admin.css" media="all">
</head>
<body data="HDSYSCMS 2021本系统受国家版权局保护请勿破解或者二次开发传播">
<div class="layui-fluid1">
<div class="layui-row layui-col-space151">
<div class="layui-col-md12">
<div  class="layui-card">
<div class="layui-card-body">
<form class="layui-form" action="">
<div class="layui-form-item">
<div style="text-align: center;" class="layui-input-block">
<button class="layui-btn" lay-submit lay-filter="post">检测并更新版本</button>
</div>
</div>
</form>
<form class="layui-form" action="">
<div class="layui-form-item">
<div style="text-align: center;" class="layui-input-block">
<textarea id='textarea' readonly style="    width: 88%;
height: 330px;
border: 1px solid #1c84ec;
padding: 10px;
color: #1c84ec;" >点击上方按钮进行检测更新版本,更新只对文件更新,数据库记得定期备份.</textarea>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<?php adminechohtnl(); ?>
<style>.layui-input-block {margin-left: 0px;min-height: 36px;}</style>
<script src="<?php echo getcdnurlhost() ?>/admin/layui/layui.js"></script>
<script>layui.config({base: '<?php echo getcdnurlhost() ?>/admin/'}).use(['form', 'layer'], function() {var admin=layui.admin,$=layui.$,form=layui.form;form.on('submit(post)', function(data) {layer.load(0);$.ajax({type: "post",url: '../Plug/UpWeb/replace.php',data: 'type=1&token=<?php echo $param_sha1_token; ?>&md5=<?php echo $param_md5 ?>',dataType: "text",success: function(ret) {layer.closeAll();$("#textarea").val(ret);}});return false;});});</script>
</body>
</html>